|
|
The Set Tweener command assigns a tweener to an element for simple
animations from one state to another state. The tweener immediately
takes effect, but does not auto-run. Use the Run
command to start and stop the tweener. Set Time will also immediately
effect any element with a tweener. Elements can have multiple
tweeners - but only one of each kind.
Options
- Target Argument: The element that will contain the
tweener. The duration and rate of the element determines the
timing of the animation. If the Duration is zero, then the To
state is the initial (and final) state, otherwise the initial
state is the From state.
- Tweener: The list of available tweeners. Still stops a tweener from running.
- Drag: Moves the element from one position to
another. The positions can be either X/Y window positions or
else the position of an element.
- Grow: Changes the size of the element from one size
to another. The size can be either X/Y pixel dimensions or else
the size of an element.
- Scroll: Scrolls a Scroller element from one scroll
position to another. The scroll position can be a pixel
position or else the current position, top/left or bottom/right
positions.
- Cell: Flips a Flipbook Image element from one cell
to another. The cell reference can either be a numbered cell or
else the current, first or last cells.
An element's tweeners are automatically cleared when it is unloaded.
|